using System;
using System.ComponentModel;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Query
{
	[DataContract(Name = "FetchExpression", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class FetchExpression : QueryBase
	{
		private string _query;
		[DataMember]
		public string Query
		{
			get
			{
				return this._query;
			}
			set
			{
				this._query = value;
			}
		}
		public FetchExpression(string query)
		{
			this._query = query;
		}
		[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
		internal override void Accept(IQueryVisitor visitor)
		{
			visitor.Visit(this);
		}
	}
}
